package com.bodu.system.entity.request;

import com.bodu.system.entity.po.RolePo;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author Administrator
 */
@Data
public class RolePermitRequest extends RolePo {
    @NotNull(message = "角色编号不能为空")
    private Long roleId;
    @Size(min = 1)
    @NotNull(message = "权限不能为空")
    private List<Long> permitIds;

}
